package cn.supermaster.management.web.service.monitor;

import cn.supermaster.management.common.page.TableDataInfo;
import cn.supermaster.management.common.response.WebResponse;
import cn.supermaster.management.system.domain.SysLogininfor;

/**
 * All rights Reserved, Designed By www.super-bytecode.com
 *
 * @ProjectName: supermaster-management
 * @Package: cn.supermaster.management.web.service.monitor
 * @ClassName: IMonitorLoginInformationService
 * @Description: [系统访问记录]
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2021/1/10 18:07
 * @Version: V1.0
 * @Copyright: 2021 www.super-bytecode.comn Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
public interface IMonitorLoginInformationService {

    /*
     * ================================================
     *  页面跳转功能实现
     * ================================================
     */

    /**
     * @Description: [跳转登录信息界面]
     * <p></P>
     * @Title: skipLoginInformationView
     * @Author: Lance Ting
     * @Date: 2021-01-10
     * @Return: java.lang.String
     */
    String skipLoginInformationView();


    /*
     * ================================================
     *  Rest功能实现
     * ================================================
     */
    TableDataInfo queryLoginInformationList(SysLogininfor loginInfo);

    /**
     * @Description: [导出用户登录信息列表]
     * <p></P>
     * @Title: doExportLoginInformation
     * @Author: Lance Ting
     * @Date: 2021-01-10
     * @Param: loginInfo
     * @Return: cn.supermaster.management.common.response.WebResult
     * @Throws:
     */
    WebResponse doExportLoginInformation(SysLogininfor loginInfo);

    /**
     * @Description: [删除登录日志]
     * <p></P>
     * @Title: doRemoveLoginInformation
     * @Author: Lance Ting
     * @Date: 2021-01-10
     * @Param: ids
     * @Return: cn.supermaster.management.common.response.WebResult
     * @Throws:
     */
    WebResponse doRemoveLoginInformation(String ids);

    /**
     * @Description: [清空登录日志]
     * <p></P>
     * @Title: doCleanLoginInformation
     * @Author: Lance Ting
     * @Date: 2021-01-10
     * @Return: void
     * @Throws:
     */
    WebResponse doCleanLoginInformation();

    /**
     * @Description: [账户信息解锁]
     * <p></P>
     * @Title: doUnlockAccount
     * @Author: Lance Ting
     * @Date: 2021-01-10
     * @Param: userName
     * @Return: cn.supermaster.management.common.response.WebResult
     * @Throws:
     */
    WebResponse doUnlockAccount(String userName);
}